




var http = require("http");




/**
 * http server
 * @type {Server}
 */
var server = http.createServer(function (req, resp) {
    // resp.writeHead(200, {"Content-Type": "text/plain"});
    resp.statusCode = 200;
    resp.setHeader("Content-Type", "text/plain");
    resp.end("HelloWorld");
});

server.listen(port, host, function () {
    console.log("http server  = http://%s:%d/", host, port);
});



